class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}

		"/"(view:"/index")
		"404"(controller: "dispatcher", action: "redir")
		"500"(view:'/error')
	}
}
